package com.mc.lp.database.service.handler.constant;

import java.util.HashSet;
import java.util.List;

import com.mc.lp.shared.vo.IValueObject;

/**
 * handles form request data V for passed value object and R for response value object
 * @author deepak
 */
public interface IFormHandler<V extends IValueObject,R extends IValueObject> {
	public HashSet<FormRequestType> getRequestHandlingType();
	public R handleRequest(FormRequestType requestType,V request)throws Exception;
	public V removeSQLInjection(FormRequestType requestType,V request);
	public List<Exception> validateRequest(FormRequestType requestType,V request);
}
